package com.roast.services.messges;

public class GetEvent
{
	public String getEvent(int signal)
	{
		if(DataBaseError.isDatabaseError(signal)){return "Database ERROR![SIGNAL:"+signal+"]";}
		switch (signal)
	    {
	    	case 10600:return "You have successfully read event.";
	    	case 10602:return "Fail to read event from database.";
	    }
		return "Unknown error![SIGNAL:"+signal+"]";
	}
}
